package javaapplication1;

public class Car extends Vehicle{
    private String shape;
    public Car(int size, boolean isOnHLane, int VLanes, int HLanes, int speed){
        super(size,isOnHLane,VLanes,HLanes,speed);
        this.shape="c";
    }

    @Override
    public String getShape() {
        return this.shape;
    }
}
